package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.OfficialStudent;
import cn.wolfcode.crm.domain.StudentLossItem;
import cn.wolfcode.crm.query.ChartQueryObj;
import cn.wolfcode.crm.query.OfficialStudentQueryObj;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Map;

public interface IOfficialStudentService {

    void delete(Long id);

    void save(OfficialStudent entity);

    void update(OfficialStudent entity);

    OfficialStudent get(Long id);

    List<OfficialStudent> list();

    PageResult query(OfficialStudentQueryObj qo);

    void saveChangeClass(OfficialStudent entity);

    void quitClass(Long id);

    void recoverClass(Long id);

    void saveLossStu(StudentLossItem entity);

    PageResult classOrder(ChartQueryObj a);


    List<Map<String,Object>> selectSaleChart();

}
